<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>选择种类</title>
</head>
<link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all"/>
<link rel="stylesheet" href="${ctx}/qbdmsStatic/iconfont/iconfont.css"/>
<link rel="stylesheet" href="${ctx}/qbdmsStatic/style/qbdms.css">
<script type="text/javascript">
  var __ctx = "${ctx}";

</script>
<body>
<form class="layui-form" style="padding: 16px">
  <div class="layui-form-item">
    <label class="layui-form-label"><span style="color: red;">*</span>请选择分类:</label>
    <div class="layui-input-block">
      <input type="radio" name="sex" value="（星船站空间工程型号）一次电源系统" title="（星船站空间工程型号）一次电源系统" checked="">
      <input type="radio" name="sex" value="水中兵器电源" title="水中兵器电源">
      <input type="radio" name="sex" value="弹箭用电源" title="弹箭用电源">
      <input type="radio" name="sex" value="其它特种电源" title="其它特种电源">
    </div>
  </div>
  <div class="layui-form-item" style="position: fixed;bottom: 21px;left: 0;margin-bottom: 0;width: 100%;">
    <div style="text-align: center;">
      <a lay-submit lay-filter="wCustomColumns" class="layui-btn btn-n privateSubmit qbdms-oneBtn">确定</a>
      <button type="reset" id="closeWindow" style="margin-left: 10px;" class="layui-btn btn-n layui-btn-danger btn-save qbdms-oneBtnLine">取消</button>
    </div>
  </div>
  <!--<table style="margin-left: 15%;margin-top: 7%">-->
  <!--<tr>-->
  <!--<td><label class="layui-form-label"><span style="color: red;">*</span>请选择分类:</label></td>-->
  <!--<td>-->
  <!--<div class="layui-input-block qbdms-input">-->
  <!--<select id="type" name="type" class="layui-input" lay-filter="type">-->
  <!--</select>-->
  <!--</div>-->
  <!--</td>-->
  <!--</tr>-->
  <!--</table>-->
</form>
<script src="${ctx}/qbdmsStatic/public/configFile.js"></script>
<script src="${ctx}/layui/layui.js"></script>
<script>
  layui.config({
    base: serverPath.qbdmsPath + staticPath.qbdmsPath //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'table', 'setter', 'form', 'common', 'publicMethods', 'jquery', 'layer','qbdmsForm'], function () {
    var form = layui.qbdmsForm;
    var $ = layui.jquery;
    var zhiliangCommon = layui.common;
    var publicMethods = layui.publicMethods;
    var layer= layui.layer;
    var typeList = eval('${typeList}'); //种类
    $("#closeWindow").click(function () {
      parent.layer.close(parent.layer.getFrameIndex(window.name));
    });
    zhiliangCommon.initDicData("type", typeList)
    form.on('submit(wCustomColumns)', function () {
            window.parent.location.href = "${ctx}/qbdms/wQbdChemicalPhysicsInfo/view/add?typeValue="
                + $('input[name="sex"]:checked').val();
    });

  })
</script>
</body>
</html>